<?php
/**
 * Created by PhpStorm.
 * User: coolinmind
 * Date: 28/11/2018
 * Time: 15:51
 */

namespace App\Services\Mobile;


use App\Services\Mobile\Bill\BillLogic;

class Bill
{
    /**
     * @return mixed
     */
    public function billList($data)
    {
        ValidateBill::checkValidate($data, ['userId']);
        return (new BillLogic())->billList($data);
    }

    public function billDetail($data)
    {
        ValidateBill::checkValidate($data, ['data', 'agent_id']);
        return (new BillLogic())->billDetail($data);
    }
}